package org.csu.onlineedubackend.dto;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

//教师端添加
@Data
public class StudentProgressDTO {
    private Integer id;
    private String name;
    private String phone;
    private String avatar;
    private LocalDateTime subscribeTime;
    private Integer completedLessons;
    private Integer totalLessons;  //  总课时数
    private Integer totalProgress; // 百分比（取整）
    private Map<Integer, Float> progress; // lessonId -> progress%

    private List<LessonProgressDetailDTO> lessonProgressDetails;
}
